Returns a value that indicates one or more characteristics of an rdoColumn object.
Syntax
object.Attributes
The object placeholder represents an object expression that evaluates to an object in the Applies To list.
Return Values
The Attributes property return value specifies characteristics of the column represented by the rdoColumn object and can be a sum of these constants:
Constant | Value | Description |
rdFixedColumn | 1 | The column size is fixed (default for numeric columns) For example, Char, Binary. |
rdVariableColumn | 2 | The column size is variable. For example, VarChar and LongVarChar, VarBinary and LongVarBinary columns. |
rdAutoIncrColumn | 16 | The column value for new rows is automatically incremented to a unique value that can't be changed. |
rdUpdatableColumn | 32 | The column value can be changed. |
rdTimeStampColumn | 64 | The column is a timestamp value. This attribute is set only for rdClientBatch cursors. |
Remarks
When checking the setting of this property, you should use the And operator to test for a specific attribute. Testing for absolute values can jeopardize future compatibility. For example, to determine whether an rdoColumn object is fixed-size, you can use code like the following:
If MyResultset![ColumnName].Attributes And rdFixedColumn Then...